Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depend directly on rustls #1020

Merged
merged 1 commit into from
Jul 11, 2023
Merged

Depend directly on rustls #1020

merged 1 commit into from
Jul 11, 2023

Conversation

Jarema
Copy link
Member

@Jarema Jarema commented Jul 10, 2023

Until now, we did depend on tokio-rustls re-export of rustls.
Re-export is ^0.21.0, so patch releases are allowed.

However, as rustls released 0.21.4, it introduced
a breaking change in patch release, breaking the async-nats client build.

To avoid that in the future, we do not use re-export, but bind directly to rustls explicit version.

When rustls reaches 1.0.0, we can reconsider binding to ^1.0.0.

Related issues: #1017 #1018

Signed-off-by: Tomasz Pietrek [email protected]

Until now, we did depend on tokio-rustls re-export
of rustls.
Re-export is ^0.21.0, so patch releases are allowed.

However, as rustls released 0.21.4, it introduced
a breaking change in patch release, breaking the async-nats
client build.

To avoid that in the future, we do not use re-export, but bind
directly to rustls explicit version.

When rustls reaches 1.0.0, we can reconsider binding to ^1.0.0.

Signed-off-by: Tomasz Pietrek <[email protected]>
Copy link
Collaborator

@caspervonb caspervonb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Jarema Jarema merged commit 2d032a7 into main Jul 11, 2023
13 checks passed
@Jarema Jarema deleted the jarema-explicit-rustls-dependenct branch July 11, 2023 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants